package com.zyb.warehouse.mapper;

import com.zyb.warehouse.entity.Place;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Description:产地持久层接口
 */
@Mapper
public interface PlaceMapper {

    /**
     * 查询所有产地
     *
     * @return
     */
    @Select("select * from place where is_delete=0")
    List<Place> selectAllPlace();
}
